OTP\Handler\Forms\UserProRegistrationForm A

Total Complexity 51
Dependencies 8
Dependents 0
Total lines 450
Lines of code 257
Logical lines of code 98
Comment lines 143
Methods 20
Properties 2

Methods 20

Method Rating Maintainability Complexity Lines of code
process_userpro_form_submit()
S
59 6 13
validate_userpro_phone()
S
60 6 12
checkIfUserHasNotSubmittedTheFormForValidation()
S
72 5 4
userpro_phone_shortcode()
S
48 1 50
userpro_email_shortcode()
S
48 1 50
handle_form()
S
57 3 16
processOTPEntered()
S
61 3 12
sendErrorMessageIfOTPVerificationNotStarted()
S
59 2 17
routeData()
S
64 3 10
get_phone_number_selector()
S
70 3 6
processEmailAndStartOTPVerificationProcess()
S
67 3 7
processPhoneAndStartOTPVerificationProcess()
S
67 3 7
checkIfValidFormSubmition()
S
67 3 7
handle_form_options()
S
63 2 11
auto_verify_user()
S
73 2 5
__construct()
S
58 1 15
handle_post_verification()
S
79 1 3
handle_failed_verification()
S
79 1 3
send_otp()
S
72 1 6
unset_otp_session_variables()
S
80 1 3